#pragma once
#include <afxwin.h>
class MyBitmap
{
public:
	MyBitmap(void);
	MyBitmap(LPCTSTR str);
	CBitmap *cb;
	CBitmap *cbmask;
	void CreateBitmapMask( COLORREF crTransparent);
	void DrawBG(CDC * pDC,int x,int y);
	void DrawTransparent(CDC * pDC, int x, int y, COLORREF crColour);
	void DrawTransparent(CDC * pDC, int x, int y,int x1, int y1,int width,int height, COLORREF crColour);
public:
	~MyBitmap(void);
};
